package com.xing.crm.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController
{
    
    //根路径,默认显示用户登录页面
    @RequestMapping("/")
    public String webIndex()
    {
        return "website/pages/login";
    }
    
    //后台首页
    @RequestMapping({"/admin/index"})
    public String index()
    {
        return "admin/index";
    }
    
    //后台登录页
    @RequestMapping({"/admin/login"})
    public String login()
    {
        return "admin/login";
    }
    
    
}
